package org.headquarter.object;

import org.apache.commons.lang.RandomStringUtils;

public class UnicId {
    
    public static final UnicId ROOT = new UnicId("ROOT");
    
    
    
    String id;
    
    public UnicId(){
	id = RandomStringUtils.random(20,"abcdefghijklmnopqrstuvwxyz0123456789");
    }
    
    public UnicId(String id){
	this.id = id;
    }
    
    @Override
    public String toString() {
        return id;
    }
}
